<template>
    <el-row class="page">

      <!-- 导航栏 -->
      <Navigation v-bind:navi_index="navi_index"/>

      <!-- 内容组件 -->
      <el-col :span="24">

        <!-- 分割栏 -->
        <el-col :md="24" :sm="24" :xs="24" style="height:30px">
        </el-col>

        <!-- 右侧编辑器 -->
        <el-col :md="24" :sm="24" :xs="24">
          <EditorRecord ref="editRecord"/>
        </el-col>
      </el-col>
    </el-row>
</template>

<style>

</style>

<script>
import Navigation from '../components/Navigation'
import EditorRecord from '../components/Editor/EditorRecord'
export default {
  components: {
    'Navigation': Navigation,
    'EditorRecord': EditorRecord
  },
  data () {
    return {
      navi_index: 'editor'
    }
  },
  mounted: function () {
    this.$refs.editRecord.loadRecord({
      id: 'all',
      name: '全部设备'
    })
  }
}
</script>
